<?php 
	include_once 'thuvienham.php';
	include_once 'giaovienvaitro_db.php';

	class giaovienvaitro_bs 
	{
		//------------------Fields [2]------------------
			// #0
		private $MaVaiTro = "";
		public function SetMaVaiTro($MaVaiTro) { $this->MaVaiTro = $MaVaiTro; }
		public function GetMaVaiTro() { return $this->MaVaiTro; }
			// #1
		private $TenVaiTro = "";
		public function SetTenVaiTro($TenVaiTro) { $this->TenVaiTro = $TenVaiTro; }
		public function GetTenVaiTro() { return $this->TenVaiTro; }

		//------------------Method------------------
		public function Them()
		{
			$data = new giaovienvaitro_db();
			return $data->Them($this->MaVaiTro, $this->TenVaiTro);
		}

		public function Xoa()
		{
			$data = new giaovienvaitro_db();
			return $data->Xoa($this->MaVaiTro);
		}

		public function CapNhat()
		{
			$data = new giaovienvaitro_db();
			return $data->CapNhat($this->MaVaiTro, $this->TenVaiTro);
		}

		public function LayDanhSach()
		{
			$data = new giaovienvaitro_db();
			return $data->LayDanhSach($this->MaVaiTro, $this->TenVaiTro);
		}

	}

